<html>

<body>
    <form id="registerForm">
        <input type="text" placeholder="用户名" name="userName" id="userName" /><br/>
        <input type="text" placeholder="密码" name="password" id="password" /><br/>
        <button onclick="register()">立即注册</button>
    </form>
</body>
</html>
<script src="/js/jquery.js" type="text/javascript"></script>
<script src="/js/register.js" type="text/javascript"></script>